package cn.db101.api.complex

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.autoconfigure.domain.EntityScan
import org.springframework.boot.runApplication
import org.springframework.cloud.client.discovery.EnableDiscoveryClient
import org.springframework.cloud.openfeign.EnableFeignClients
import org.springframework.scheduling.annotation.EnableScheduling

@SpringBootApplication
@EntityScan("cn.db101.api.complex.entity")
@EnableScheduling
@EnableDiscoveryClient
@EnableFeignClients
open class ApiComplexApplication

fun main(args: Array<String>) {

    runApplication<ApiComplexApplication>(*args)

}
